package domain;



import java.util.List;
import data.*;

public class GestorRanking implements IGestorRanking {
	
	private IRankingDAO rankdao = new JDBCRankingDAO();
	
	public List<Ranking> selectAllRanking(){
		return rankdao.selectAllRanking();
	}
	
	public String insert(Ranking r){
		return rankdao.insert(r);
	}
	
	public void delete (String rakingID){
		rankdao.delete(rakingID);
	}
	
	public String selectOIDRanking(String OIDranking){
		return rankdao.selectOIDRanking(OIDranking);
	}

}
